<?php $this->load->view('headerfooter/header'); ?>
<!-- Begin page content -->
<script src="<?=base_url()?>/src/js/parsley.js"></script>
<div class="container">
	<div class="col-sm-4 col-sm-offset-1">
		<div class="panel panel-success">
			<div class="panel-heading">
				<div class="panel-title">
					<div class="title-white"><?=$title?></div>
				</div>
			</div>
			<div class="panel-isi">
			<form action="<?=site_url('user/addUser')?>" method="post">
				<table class="table">
						<tr>
							<th width="20%">Username</th>
							<td><input type="text" id="username" name="username" class="form-control"></td>
						</tr>
						<tr>
							<th width="20%">Nama Lengkap</th>
							<td><input type="text" id="nama-lengkap" name="nama-lengkap" class="form-control"></td>
						</tr>
						<tr>
							<th width="20%">Password</th>
							<td><input type="password" id="password" name="password" class="form-control"></td>
						</tr>
						<tr>
							<th width="20%">Konfirmasi Password</th>
							<td><input type="password" id="konfirm-password" class="form-control"></td>
						</tr>
						<tr>
							<th width="20%">Role</th>
							<td>
								<select name="role" class="form-control">
									<option value="1">Master Admin</option>
									<option value="2">Editor</option>
									<option value="3">User</option>
								</select>
							</td>
						</tr>
				</table>
				<button type="submit" class="btn btn-lg btn-danger btn-block"><i class="fa fa-lock"></i> Tambah User</button>
			</form>
			</div>
		</div>
	</div>
</div>
<?php $this->load->view('headerfooter/footer'); ?>
